package com.ytc.service;

import com.ytc.model.Bookhistory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 详细介绍类情况.
 *
 * @ClassName BookhistoryService
 * @Author zk
 * @Date 2023/1/13
 * @Version 1.0
 */
@FeignClient("service-provider")
public interface BookhistoryService {

    //张阔:查询历史记录
    @RequestMapping("queryBhByUidAndBlid")
    Integer queryBhByUidAndBlid(@RequestParam("uId") Integer uId,@RequestParam("blId") Integer blId);

    //张阔：修改历史记录
    @RequestMapping("addHistory")
    void addHistory(@RequestParam("uid") Integer uid,@RequestParam("bid") Integer bid,@RequestParam("cid") Integer cid);

    //张阔：修改历史记录
    @RequestMapping("updateHistory")
    void updateHistory(@RequestParam("uid") Integer uid,@RequestParam("bid") Integer bid,@RequestParam("cid") Integer cid);
}
